package com.luban.authserver.config.customfilter.login;

import lombok.extern.slf4j.Slf4j;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsChecker;

@Slf4j
public class MyPreAuthenticationCheck implements UserDetailsChecker {
    @Override
    public void check(UserDetails toCheck) {
        log.info("user login check " + toCheck.getUsername());
    }
}
